/**
 * Copyright (c) 2025 EOVA.CN. All rights reserved.
 * Licensed under the LGPL-3.0
 * For authorization, please contact: admin@eova.cn
 */
package cn.eova.meta;

import cn.eova.meta.ctrl.ImportController;
import cn.eova.meta.ctrl.TestController;
import com.eova.auth.AuthUri;
import com.eova.config.WebRoutes;

public class AppRoutes extends WebRoutes {

    public void config() {
        super.config();

        add("/test", TestController.class);
        add("/excel", ImportController.class);

        AuthUri.loginAuth.add("/theme");
        AuthUri.loginAuth.add("/test/**");
        AuthUri.loginAuth.add("/api/table/query/*");
        // 登录后免鉴权 @see com.eova.common.utils.util.AntPathMatcher

    }

}